package cn.net.withub.dataCollector.common.model;

import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

/**
 * Created by yuanjie on 2018/4/27.
 */
@Entity
@Table(name = "t_collector_data" )
public class TCollectorData {
    private String id;
    private Integer configId;
    private String title;
    private Date fbsj;
    private String xxly;
    private String xxfb;
    private String bjsh;
    private String djcs;
    private String wjgs;
    private String url;
    private String wjlj;
    private String fydm;
    private String fymc;
    private Date systime;
    private String xxzz;//作者
    private Integer scbz;

    @Id
    @Column(name = "id",nullable = false,unique = true)
    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    @Column(name = "configid")
    public Integer getConfigId() {
        return configId;
    }

    public void setConfigId(Integer configId) {
        this.configId = configId;
    }

    @Column(name = "title")
    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    @Temporal(TemporalType.TIMESTAMP)
    @Column(name = "fbsj")
    public Date getFbsj() {
        return fbsj;
    }

    public void setFbsj(Date fbsj) {
        this.fbsj = fbsj;
    }

    @Column(name = "xxly")
    public String getXxly() {
        return xxly;
    }

    public void setXxly(String xxly) {
        this.xxly = xxly;
    }

    @Column(name = "xxfb")
    public String getXxfb() {
        return xxfb;
    }

    public void setXxfb(String xxfb) {
        this.xxfb = xxfb;
    }

    @Column(name = "bjsh")
    public String getBjsh() {
        return bjsh;
    }

    public void setBjsh(String bjsh) {
        this.bjsh = bjsh;
    }
    @Column(name = "xxzz")
    public String getXxzz() {
        return xxzz;
    }

    public void setXxzz(String xxzz) {
        this.xxzz = xxzz;
    }

    @Column(name = "djcs")
    public String getDjcs() {
        return djcs;
    }

    public void setDjcs(String djcs) {
        this.djcs = djcs;
    }

    @Column(name = "wjgs")
    public String getWjgs() {
        return wjgs;
    }

    public void setWjgs(String wjgs) {
        this.wjgs = wjgs;
    }

    @Temporal(TemporalType.TIMESTAMP)
    @Column(name = "SYS_TIME")
    public Date getSystime() {
        return systime;
    }

    public void setSystime(Date systime) {
        this.systime = systime;
    }

    @Column(name = "url")
    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    @Column(name = "wjlj")
    public String getWjlj() {
        return wjlj;
    }

    public void setWjlj(String wjlj) {
        this.wjlj = wjlj;
    }

    @Column(name = "fydm")
    public String getFydm() {
        return fydm;
    }

    public void setFydm(String fydm) {
        this.fydm = fydm;
    }

    @Column(name = "fymc")
    public String getFymc() {
        return fymc;
    }

    public void setFymc(String fymc) {
        this.fymc = fymc;
    }

    @Column(name = "scbz")
    public Integer getScbz() {
        return scbz;
    }

    public void setScbz(Integer scbz) {
        this.scbz = scbz;
    }
}
